﻿<Window x:Name="winMain" x:Class="LEDStripMixer.Editor"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
        xmlns:controls="clr-namespace:LEDStripMixer.Views.Editor.UserControls"
        Title="LED Strip Mixer - Serial Communication" ResizeMode="CanResizeWithGrip" Height="476" Width="488" MinWidth="460" MinHeight="200" Activated="winMain_Activated" Deactivated="winMain_Deactivated" Icon="/LEDStripMixer;component/Images/led3.png">
	<Grid x:Name="barMain" Margin="0,0,-6,-1" Height="570" VerticalAlignment="Top">
		<Grid.ColumnDefinitions>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>
		<Grid x:Name="barToolbar" Height="50" VerticalAlignment="Top" Margin="0,0,6,0" Background="#FFCDCDCD">
			<Button x:Name="btnSettings" Content="SETUP" VerticalAlignment="Center" Height="40" Margin="0,5,14,5" HorizontalContentAlignment="Center" Click="btnSettings_Click" HorizontalAlignment="Right" Width="72"/>
			<Button x:Name="btnPlay" Content="PLAY" HorizontalAlignment="Left" Margin="230,5,0,0" Width="75" Height="40" VerticalAlignment="Top" Click="btnPlay_Click"/>
			<Button x:Name="btnStop" Content="STOP" HorizontalAlignment="Left" Margin="310,5,0,0" Width="45" Height="40" VerticalAlignment="Top" Click="btnStop_Click"/>
			<Menu HorizontalAlignment="Left" Height="50" VerticalAlignment="Top" Width="225">
				<MenuItem Header="Visual Set" FontSize="13.333" Cursor="Hand">
					<MenuItem Header="New" HorizontalAlignment="Left" Width="145.56"/>
					<MenuItem Header="Open" HorizontalAlignment="Left" Width="145.56"/>
					<MenuItem Header="Save" HorizontalAlignment="Left" Width="145.56"/>
					<MenuItem Header="UPLOAD" HorizontalAlignment="Left" Width="145.56"/>
					<MenuItem Header="Exit" HorizontalAlignment="Left" Width="145.56" Click="btnExit_Click"/>
				</MenuItem>
				<MenuItem Header="About" HorizontalAlignment="Left" Width="51.56" FontSize="13.333">
					<MenuItem.Effect>
						<BlurEffect/>
					</MenuItem.Effect>
				</MenuItem>
			</Menu>
		</Grid>
		<Grid x:Name="barProperties" HorizontalAlignment="Left" Width="180" Margin="0,50,0,150" Background="White">
			<controls:ColourPicker HorizontalAlignment="Left" Height="387" VerticalAlignment="Top" Width="186" Margin="6,0,-12,-17" BorderThickness="10" BorderBrush="#FFF1F1F1"/>
		</Grid>
		<Canvas x:Name="barCanvas" Margin="194,50,36,143">
			<controls:PaintingCanvas Canvas.Left="18" Canvas.Top="10" Height="286" Width="247">
				<controls:PaintingCanvas.Background>
					<ImageBrush TileMode="Tile" ImageSource="/LEDStripMixer;component/Images/tile.jpg"/>
				</controls:PaintingCanvas.Background>
			</controls:PaintingCanvas>
		</Canvas>
	</Grid>
</Window>
